-
Home
-
External files in Media Library
-
2.0.4
-
Code
-
Classes
- File
Total Complexity |
74 |
Dependencies |
7 |
Dependents |
9 |
Total lines |
746 |
Lines of code |
293 |
Logical lines of code |
173 |
Comment lines |
330 |
Methods |
33 |
Properties |
5 |
Methods 33
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
switch_to_local() |
A |
40 |
8 |
58 |
add_to_cache() |
S |
51 |
6 |
27 |
delete_thumbs() |
S |
55 |
5 |
19 |
get_url() |
S |
58 |
5 |
15 |
switch_to_external() |
S |
59 |
4 |
14 |
get_filesize() |
S |
63 |
3 |
11 |
is_cached() |
S |
65 |
3 |
10 |
get_availability() |
S |
65 |
3 |
9 |
set_mime_type() |
S |
62 |
2 |
12 |
get_cache_file() |
S |
65 |
2 |
8 |
set_password() |
S |
70 |
2 |
6 |
delete_cache() |
S |
72 |
2 |
6 |
set_login() |
S |
70 |
2 |
6 |
has_credentials() |
S |
78 |
2 |
3 |
get_login() |
S |
68 |
2 |
7 |
set_filesize() |
S |
66 |
2 |
8 |
get_password() |
S |
68 |
2 |
7 |
get_file_extension() |
S |
68 |
2 |
7 |
get_title() |
S |
67 |
2 |
8 |
prevent_duplicate_check() |
S |
71 |
2 |
6 |
__construct() |
S |
81 |
1 |
3 |
is_locally_saved() |
S |
77 |
1 |
3 |
set_is_local_saved() |
S |
79 |
1 |
3 |
get_id() |
S |
82 |
1 |
3 |
is_video() |
S |
80 |
1 |
3 |
get_attachment_url() |
S |
78 |
1 |
3 |
is_valid() |
S |
79 |
1 |
3 |
set_availability() |
S |
75 |
1 |
4 |
get_mime_type() |
S |
80 |
1 |
3 |
set_title() |
S |
68 |
1 |
8 |
set_url() |
S |
75 |
1 |
4 |
set_id() |
S |
81 |
1 |
3 |
get_file_type_obj() |
S |
80 |
1 |
3 |